from .mgd import FeatureLoss


def build_feature_loss(cfg):
    return FeatureLoss(cfg["student_channels"], cfg["teacher_channels"],
                       cfg["name"], cfg["alpha_mgd"], cfg["lambda_mgd"])
